import 'package:number_spark_flutter/network/dio_log/dio_log.dart';
import 'package:number_spark_flutter/widgets/brick/ns_brick.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'ns_splash_logic.dart';

class NSSplashPage extends StatefulWidget {
  NSSplashPage({Key? key}) : super(key: key);

  @override
  State<NSSplashPage> createState() => _NSSplashPageState();
}

class _NSSplashPageState extends State<NSSplashPage> {
  final logic = Get.put(NSSplashLogic());

  @override
  void initState() {
    super.initState();

    ///TODO: httpLog
    showDebugBtn(context);
  }

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
        body: NSImage(
      assetImage: 'img_bg_splash.png',
      fit: BoxFit.cover,
      width: double.infinity,
      height: double.infinity,
    ));
  }
}
